const Layout = () => import("@/layout/index.vue");

export default {
  path: "/comment",
  name: "Comment",
  component: Layout,
  redirect: "/comment/index",
  meta: {
    icon: "ep:chat-dot-round",
    title: "评论管理",
    rank: 10,
    roles: ["admin", "common"]
  },
  children: [
    {
      path: "/comment/index",
      name: "CommentList",
      component: () => import("@/views/comment/index.vue"),
      meta: {
        title: "评论",
        showLink: true,
        roles: ["admin", "common"]
      }
    }
  ]
} satisfies RouteConfigsTable;
